﻿
if(TCP_ENABLED)
	message(STATUS "tcp client enabled")

	include_directories(${QTDIR}/QtNetwork)
	find_package(Qt5Network REQUIRED) # Qt 组件（网络模块）
	aux_source_directory(./tcp/ TCP_SRC)
	set(TCP_LIB Qt5::Network)

	set(TCP_SRC ${TCP_SRC} PARENT_SCOPE)
    set(TCP_LIB ${TCP_LIB} PARENT_SCOPE)
else()
    set(TCP_SRC "" PARENT_SCOPE)
    set(TCP_LIB "" PARENT_SCOPE)
endif()
